<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="配置参数">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <div class="toolbor-module search">
                                <input type="button" class="input-button return" value="返回" onclick="location.href='/admin/franchisee/allFranchisee.html'">
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <#if configList??>
                                <#list configList as item>
                                    <form name="form${item_index}" method="post" action="/admin/franchisee/updateFranchiseeBorrowConfig.html"  enctype="multipart/form-data" >
                                        <div class="valBox w750">
                                            <div class="top">
                                                <strong>配置【${item.borrowConfig.name}】参数</strong>
                                            </div>
                                            <div class="val clearfix">
                                                <ul>
                                                    <li>
                                                        <div class="title">最大发标金额：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.mostBorrowAccount" size="50" value="${(item.mostBorrowAccount!0)?c}"/>
                                                        </div>

                                                    <li>
                                                        <div class="title">最小发标金额：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.lestBorrowAccount" size="50" value="${(item.lestBorrowAccount!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">最大投标金额：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.mostTenderAccount" size="50" value="${(item.mostTenderAccount!0)?c}" />
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">最小投标金额：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.lestTenderAccount" size="50" value="${(item.lestTenderAccount!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">是否需要初审：</div>
                                                        <div class="v">
                                                            <!--<input type="text" name="isTrail" size="50" value="${item.isTrail!}"/>  -->
                                                            <#if item.isTrail?? && item.isTrail==1>
                                                                <input type="radio" name="fbcModel.isTrail" value="1" checked="checked">是
                                                                <input type="radio" name="fbcModel.isTrail" value="0">否
                                                                <#else>
                                                                    <input type="radio" name="fbcModel.isTrail" value="1" >是
                                                                    <input type="radio" name="fbcModel.isTrail" value="0" checked="checked">否
                                                            </#if>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">是否需要复审：</div>
                                                        <div class="v">
                                                            <#if item.isTrail?? && item.isTrail==1>
                                                                <input type="radio" name="fbcModel.isReview" value="1" checked="checked">是
                                                                <input type="radio" name="fbcModel.isReview" value="0">否
                                                                <#else>
                                                                    <input type="radio" name="fbcModel.isReview" value="1" >是
                                                                    <input type="radio" name="fbcModel.isReview" value="0" checked="checked">否
                                                            </#if>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">天标借款手续费：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.dayManageFee" size="50" value="${(item.dayManageFee!0)?c}" />
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">月标借款手续费：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.manageFee" size="50" value="${(item.manageFee!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">天标托管风险：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.dayHostRiskFee" size="50" value="${(item.dayHostRiskFee!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">月标托管风险：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.hostRiskFee" size="50" value="${(item.hostRiskFee!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">垫付等级：</div>
                                                        <div class="v">
                                                            <@linkage name="repayLevel" id="repayLevel"  nid="repay_level" default="${item.repayLevel!}"></@linkage>

                                                        </div>
                                                </li>
                                                <li>
                                                            <div class="title">逾期等级：</div>
                                                            <div class="v">
                                                                <@linkage name="lateLevel" id="lateLevel"  nid="late_interest_level" default="${item.lateLevel!}"></@linkage>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">逾期分成：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.latePercent" size="50" value="${(item.latePercent!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">技术服务费：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.serveFee" size="50" value="${(item.serveFee!0)?c}"/>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <div class="title">利息管理费：</div>
                                                        <div class="v">
                                                            <input type="text" name="fbcModel.interestManageFee" size="50" value="${(item.interestManageFee!0)?c}"/>
                                                        </div>
                                                    </li>
                                            </ul>
                                            <div class="other">
                                                <input type="hidden"  name="actionType" value="update" />
                                                <input type="hidden"  name="fbcModel.id" value="<#if item??>${item.id?c}</#if>" />
                                                <input type="hidden"  name="franchiseeModel.id" value="<#if item.franchisee??>${item.franchisee.id?c}</#if>" />
                                                <input type="hidden"  name="bcModel.id" value="<#if item.borrowConfig??>${item.borrowConfig.id?c}</#if>" />
                                                <input type="submit"  name="addBtn" value="确定" class="input-button confirm"/>
                                            </div>
                                    </div>
                                </div>
                                </form>
                        </#list>
                    </#if>
                </div>
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
    <div class="msgClass">
        ${rsmsg!""}
    </div>
    </body>
</html>